<template>
  <div class="AddressList">
    <BaseHeader>
      <template v-slot:center>
        <span class="f16">手机通讯录</span>
      </template>
    </BaseHeader>
    <div class="content">
      <div class="recommend">
        <div class="title">
          <div class="left">已有20+位朋友加入牛仔</div>
        </div>
        <div class="list">
          <People :key="i" v-for="(item, i) in data.list" :people="item"></People>
        </div>
      </div>
      <div class="footer">为尊重用户选择，仅展示已授权用户</div>
    </div>
  </div>
</template>
<script setup lang="ts">
import People from './components/People.vue'
import { reactive } from 'vue'

defineOptions({
  name: 'AddressList'
})

const data = reactive({
  list: [
    {
      type: 5
    }
  ]
})
</script>

<style scoped lang="less">
@import '../../assets/less/index';

.AddressList {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  overflow: auto;
  color: white;

  .content {
    padding-top: 60rem;

    .recommend {
      .title {
        padding: 20rem 20rem 10rem 20rem;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .left {
          color: var(--second-text-color);

          img {
            width: 10rem;
            height: 10rem;
          }
        }

        .right {
          border-radius: 50%;
          background: var(--second-text-color);
          padding: 5rem;
          width: 10rem;
          height: 10rem;
        }
      }
    }

    .footer {
      text-align: center;
      line-height: 60rem;
      height: 60rem;
      color: var(--second-text-color);
    }
  }
}
</style>
